package com.party.web.web.dto.output.wechatPlatform.message;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Created by wei.li
 *
 * @date 2017/8/29 0029
 * @time 15:17
 */
public class Message {

    // 接收方帐号（收到的OpenID）
    @XStreamAlias(value = "ToUserName")
    private String toUserName;

    // 开发者微信号
    @XStreamAlias(value = "FromUserName")
    private String fromUserName;

    // 消息创建时间 （整型）
    @XStreamAlias(value = "CreateTime")
    private long createTime;

    // 消息类型（text/music/news）
    @XStreamAlias(value = "MsgType")
    private String msgType;

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }
}
